package param.syn;

import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;

import param.pub.Publicrequest;
import param.pub.ShareResponse;

@XmlAccessorType(XmlAccessType.PROPERTY)
@XmlRootElement(name = "ticketsyncrequest")
public class TicketSyncRequest extends ShareResponse {

	/**
	 * serialVersionUID:
	 */
	private static final long serialVersionUID = 1058168363421935418L;

	private Publicrequest publicrequest;

	private List<Ticket> tickets;

	@XmlElement(name = "publicrequest")
	public Publicrequest getPublicrequest() {
		return publicrequest;
	}

	public void setPublicrequest(Publicrequest publicrequest) {
		this.publicrequest = publicrequest;
	}

	@XmlElementWrapper(name = "tickets")
	@XmlElement(name = "ticket")
	public List<Ticket> getTickets() {
		return tickets;
	}

	public void setTickets(List<Ticket> tickets) {
		this.tickets = tickets;
	}
}
